package com.xuetang9.demo.ssm.dao;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xuetang9.demo.ssm.domain.User;

public interface UserMapper {
	/**
	 * 根据名字和密码查询
	 * @param account
	 * @param password
	 * @return
	 */
	User getByAccAndPwd(@Param("account") String account, @Param("password")String password);
	/**
	 * 查询User表中全部信息
	 * @return
	 */
	List<User> All();
	
}
